package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

@TableName("cmfz_banner")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CmfzBanner implements Serializable {
    @TableId(value = "banner_id",type = IdType.AUTO)
    private Integer bannerId;
    @TableField("banner_image_url")
    private String bannerImageUrl;
    @TableField("banner_old_name")
    private String bannerOldName;
    @TableField("banner_state")
    private Integer bannerState;
    @TableField("banner_date")
    private Date bannerDate;
    @TableField("banner_description")
    private String bannerDescription;
}
